package com.six.backend.service.impl;

import com.six.backend.dao.PermissionDao;
import com.six.backend.service.RolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @Author: skyler
 * @Date: 2021/11/7 13:53
 */
@Service
public class RolePermissionServiceImpl implements RolePermissionService {
    @Autowired
    private PermissionDao permissionDao;

    @Override
    public Set<String> selectPermissionByAccount(String account) {
        return permissionDao.selectPermissionByAccount(account);
    }
}
